{% extends 'base.html' %}
{% block content %}
<div style="max-width:400px;margin:30px auto;padding:20px;border:1px solid #ddd;border-radius:8px;box-shadow:0 2px 8px #eee;">
    <h1 style="margin-top:0;">删除图书</h1>
    <p>你确定要删除“{{ object.title }}”吗？</p>
    <form method="post">{% csrf_token %}
        <button type="submit" style="padding:6px 12px;background:#f44336;color:#fff;border:none;border-radius:4px;">确认删除</button>
        <a href="{% url 'book-list' %}" style="padding:6px 12px;background:#607D8B;color:#fff;text-decoration:none;border-radius:4px;">取消</a>
    </form>
</div>
{% endblock %} 